package com.bonc.ioc.constant;

/**
 * @author ：liyy
 * @date ：Created in 2020/3/26 09:34
 * @description：分页查询参数校验用的数据常量类
 * @modified By：
 * @version: V1.0
 */
public class PageParamsConstant {
    /**
     * 升序标记
     */
    public final static String ASC = "asc";

    /**
     * 降序标记
     */
    public final static String DESC = "desc";

    /**
     * 否关键字
     */
    public final static String FALSE = "false";

    /**
     * 是关键字
     */
    public final static String TRUE = "true";

    /**
     * 每页记录数
     */
    public final static String PAGE_SIZE = "pageSize";

    /**
     * 当前页数
     */
    public final static String PAGE_NUM = "pageNum";

    /**
     * 排序字段
     */
    public final static String ORDER_BY = "orderBy";

    /**
     * 排序方式，升序-asc、降序-desc
     */
    public final static String SORT = "sort";

    /**
     * 是否全部查询
     */
    public final static String FIND_ALL = "findAll";
}
